package com.dowsure.apisaas.model;

import com.dowsure.apisaas.annotation.RequestParamValidated;
import lombok.Data;

import java.util.List;

/**
 * @program: apisaas-sdk
 * @description: 传输还款计划请求参数
 * @author: Dowsure
 * @create: 2022-02-15 17:17
 **/
@Data
public class LoanRepaymentPlanRequestParams {

    /**
     * Dowsure 卖家申请单编号
     */
    @RequestParamValidated(required = true, msg = "Dowsure 卖家申请单编号", maxLen = 32)
    private String applicationCode;

    /**
     * 用户侧贷款编号
     */
    @RequestParamValidated(required = true, msg = "用户侧贷款编号", maxLen = 32)
    private String loanCode;

    /**
     * 用户侧贷款合同编号
     */
    @RequestParamValidated(msg = "用户侧贷款合同编号", maxLen = 32)
    private String loanContractNo;

    /**
     * 还款计划列表
     */
    @RequestParamValidated(msg = "还款计划列表")
    private List<Repayment> repaymentList;
}
